list=[1,2,3,4,5,6,7,8,9]
list1=[]
for i in list:
    list1.insert(0,i)
print(list1)